<?php

/*
 * This file is part of the yuki package.
 * Copyright (c) 2011 olamedia <olamedia@gmail.com>
 *
 * Licensed under The MIT License
 * 
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * yLogRoute
 *
 * @abstract
 * @package yuki
 * @subpackage log
 * @version SVN: $Id: yLogRoute.php 149 2011-02-20 06:58:24Z olamedia@gmail.com $
 * @revision SVN: $Revision: 149 $
 * @date $Date: 2011-02-20 06:58:24 +0000 (Sun, 20 Feb 2011) $
 * @author olamedia
 * @license http://www.opensource.org/licenses/mit-license.php MIT
 */
abstract class yLogRoute{
    public function __construct(){
        $this->setUp();
    }
    /**
     * Do setup preparations.
     * Override this method in your custom route.
     */
    public function setUp(){
        
    }
    /**
     * Do shutdown stuff.
     * Override this method in your custom route.
     */
    public function tearDown(){
        
    }
    /**
     * Proccess given logs.
     * @abstract
     * @param array $logs 
     */
    abstract public function processLogs($logs);
}

